<?php
	/* Description: This file is used to add sub sub category. */
	#########IncludeFiles####################################################################################
	include_once '../inc/config.php';
	include_once("../inc/bootstrape.php");
	require_once _SITE_PATH_.'classes/Master/Master.php';
	require_once _SITE_PATH_.'classes/CommonUtility/CommonUtility.php';

	if( $_POST['submit']=='Submit'){   
		$parms['name'] = $_POST['name'];
		$parms['description'] = $_POST['description'];
		$parms['type'] = $_POST['type'];
		$parms['price'] = $_POST['price'];
					
		if( CommonUtility::insertData($parms, 'venue_items_master')) {        
			header("Location: venue_item_mng.php?msg=1714");            
			exit;
		}
		$err = 1715;    
	}

	$errMsg = $err;
	$_tplName = 'master/venue_item_add.tpl';
	$_title = 'Add Venue Item';

	require_once _ADMIN_TPL_MAIN_;
?>